package com.ruoyi.mes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备维保方案对象 ept_maintenance_scheme
 * 
 * @author CFL
 * @date 2024-04-28
 */
public class EptMaintenanceScheme extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维保方案id */
    private Long id;

    /** 设备id */
    private Long eptId;

    /** 维保任务id */
    private Long tkId;

    /** 维保任务名称 */
    @Excel(name = "维保任务名称")
    private String tkName;

    /** 维保类型 */
    @Excel(name = "维保类型")
    private Integer tkType;

    /** 维保频率 */
    @Excel(name = "维保频率")
    private Integer tkFrequency;

    /** 循环方式 */
    @Excel(name = "循环方式")
    private Integer cyclicMode;

    /** 循环周期 */
    @Excel(name = "循环周期")
    private String cyclicPeriod;

    /** 方案内容 */
    @Excel(name = "方案内容")
    private String content;

    /** 执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executionTime;

    /** 逻辑删除;0：存在；1：删除 */
    private Long isDeleted;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新者 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEptId(Long eptId) 
    {
        this.eptId = eptId;
    }

    public Long getEptId() 
    {
        return eptId;
    }
    public void setTkId(Long tkId) 
    {
        this.tkId = tkId;
    }

    public Long getTkId() 
    {
        return tkId;
    }
    public void setTkName(String tkName) 
    {
        this.tkName = tkName;
    }

    public String getTkName() 
    {
        return tkName;
    }
    public void setTkType(Integer tkType) 
    {
        this.tkType = tkType;
    }

    public Integer getTkType() 
    {
        return tkType;
    }
    public void setTkFrequency(Integer tkFrequency) 
    {
        this.tkFrequency = tkFrequency;
    }

    public Integer getTkFrequency() 
    {
        return tkFrequency;
    }
    public void setCyclicMode(Integer cyclicMode) 
    {
        this.cyclicMode = cyclicMode;
    }

    public Integer getCyclicMode() 
    {
        return cyclicMode;
    }
    public void setCyclicPeriod(String cyclicPeriod) 
    {
        this.cyclicPeriod = cyclicPeriod;
    }

    public String getCyclicPeriod() 
    {
        return cyclicPeriod;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setExecutionTime(Date executionTime) 
    {
        this.executionTime = executionTime;
    }

    public Date getExecutionTime() 
    {
        return executionTime;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedDate(Date updatedDate) 
    {
        this.updatedDate = updatedDate;
    }

    public Date getUpdatedDate() 
    {
        return updatedDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("eptId", getEptId())
            .append("tkId", getTkId())
            .append("tkName", getTkName())
            .append("tkType", getTkType())
            .append("tkFrequency", getTkFrequency())
            .append("cyclicMode", getCyclicMode())
            .append("cyclicPeriod", getCyclicPeriod())
            .append("content", getContent())
            .append("executionTime", getExecutionTime())
            .append("remark", getRemark())
            .append("isDeleted", getIsDeleted())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedDate", getUpdatedDate())
            .toString();
    }
}
